﻿using LeastSquareMethod.Models;

namespace LeastSquareMethod
{
    internal class Program
    {
        /// <summary>
        /// 最小二乘法估测GDP
        /// </summary>
        /// <param name="args"></param>
        static void Main(string[] args)
        {
            List<string> year = new List<string>();
            List<string> gdp = new List<string>();
            //调用函数读数据
            DataGet.Get(year, gdp);
            //调用函数，代入回归模型求结果
            RegressionModel.Regression(year, gdp);
        }
    }
}